﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace tooltipslider
{
	public partial class slidertooltip : UserControl
	{
		public slidertooltip()
		{
			// Required to initialize variables
			InitializeComponent();
		}
        public void updatetextValueforcurrent(string s)
        {
            Currentvalue.Text = s.Substring(s.IndexOf(':') + 1);
        }
        
        
	}
}